package com.dingding.gmall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * sku信息(PmsSkuInfo)实体类
 *
 * @author makejava
 * @since 2020-11-06 14:34:47
 */

@Data
@TableName("pms_sku_info")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SkuInfoEntity implements Serializable {
    private static final long serialVersionUID = -64432525212905642L;
    /**
    * skuId
    */
    @TableId(type = IdType.AUTO)
    private Long skuId;
    /**
    * spuId
    */
    private Long spuId;
    /**
    * sku名称
    */
    private String skuName;
    /**
    * sku介绍描述
    */
    private String skuDesc;
    /**
    * 所属分类id
    */
    private Long catelogId;
    /**
    * 品牌id
    */
    private Long brandId;
    /**
    * 默认图片
    */
    private String skuDefaultImg;
    /**
    * 标题
    */
    private String skuTitle;
    /**
    * 副标题
    */
    private String skuSubtitle;
    /**
    * 价格
    */
    private BigDecimal price;
    /**
    * 销量
    */
    private Long saleCount;

}